home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 6 / c_wndw.zip / ACCEPT3.C < prev    next >
Text File  |  1989-05-25  |  464b  |  20 lines

  1. /*  (c) Marietta Systems, Inc.  1987
  2. *   All rights reserved
  3. *
  4. *   demonstration program for accept function
  5. */
  6. #include "mtest.h"
  7. void main() {
  8. int m = 0, x = 2, z1;
  9. byte text[41];
  10. clr_scrn("Accept test - 3");
  11. text[0] = 0;
  12. display("Enter column of centered strings of increasing size",
  13.      1, 1, high);
  14. for (z1 = 10 ; z1 < 41 && !m ; z1++, x++) {
  15.      set_crsr(x, 10);
  16.      m = accept(text, center, alt_reverse, z1, 0); 
  17.      }
  18. goodbye(0);
  19. }
  20.